package kongzhiliu.ifqiantao;

/**
 * 
 * @author Jin Jing
 * 
 * 注意for不打大括号的情况
 *
 */
public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		int a = 1;
		if(a == 1)
		
			for(int i = 0; i < 2; i++)
				if(a == 2)
				{
					System.out.println("haha");
				}
				else {
					System.out.println("hehe");
				}

	}

}
